home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / UTILITY1 / MOUSKY12.ZIP / MOUSEKEY.TXT < prev   
Text File  |  1993-11-15  |  8KB  |  180 lines

  1. MouseKey V1.20 - Assign keys and command to mouse buttons
  2.                  Copyright 1993 by Andreas Furrer
  3. ===================================================================
  4.  
  5. With MouseKey you can assign key combinations or commands to mouse buttons.
  6. You can have a global setting or application specific keys and commands.
  7. Now you can use your right or middle mouse button in applications that
  8. doesn't support the use of the right or middle mouse button.
  9. But you can also override the default behaviour of an appliaction if
  10. it already supports the use of the right or middle mouse button.
  11. All mouse buttons (left, middle and right) can be combined with a 
  12. combination of <SHIFT> and <CTRL> so you can setup up to 11 different key-
  13. combinations or commands to mouse buttons. (The left mouse button without
  14. <SHIFT> and <CTRL> can't be assigned a key or command.)
  15.  
  16. MouseKey needs Windows 3.1, it will not work with Windows 3.0.
  17.  
  18.  
  19. Installation
  20. ============
  21. The installation of MouseKey is very easy:
  22. 1) Copy MOUSEKEC.CPL into your WINDOWS\SYSTEM directory.
  23. 2) Copy MOUSEKEY.EXE into any directory and create a new item
  24.    for MOUSEKEY.EXE in your startup group.
  25.    It is the best to have MouseKey as the last (lower right) icon in you 
  26.    startup group so another loaded application will not override the
  27.    function of MouseKey.
  28. 3) Restart Windows
  29.  
  30.  
  31. MouseKey runs invisible. If you want to close it, just start it a second
  32. time or close it with a taskmanager that lets you see hidden windows.
  33. (Like FTaskman - a very nice, useful and FREE taskmanager replacement)
  34.  
  35.  
  36.  
  37. Configuration
  38. =============
  39. For the configuration of MouseKey start your control panel and open
  40. the MouseKey icon.
  41. There is a setting '<desktop>' for the desktop of windows, a default setting
  42. '<default>' for all applications, but for each application you don't want the
  43. default you can add an entry and change the settings for this application.
  44. To create a setting for a new application choose the 'New' button and
  45. select the filename of the application. To delete an entry, select
  46. it in the listbox and press 'Delete'. The <default> and the <desktop> entry
  47. can't be deleted.
  48.  
  49. You can assign keys or commands to the three mouse keys in combination 
  50. with <SHIFT> and <CTRL>. (Exception: You can't apply a key or command to
  51. only the left mouse button without <SHIFT> or <CTRL>.)
  52. For each combination you can assign a key combination (normaly a menu hotkey
  53. like <SHIFT>+<F1>) or you can assign a menu command. If you don't assign
  54. a value for a combination you will get the default behaviour.
  55.  
  56. If the button "Menu command" is unchecked for a combination, you can press
  57. the key combination (e.g. <SHIFT>+<F1>) you want in the edit field. You will
  58. see the names of the pressed keys. If you want to delete a key definition
  59. press <BACKSPACE>.
  60.  
  61. There are two key combinations which can't be entered: <CTRL>+<ESC>
  62. and <BACKSPACE>. If you want to assign this keys, you have to open the combo-
  63. box and select the specific entry.
  64. In the list of the combobox you will also see all mousekeys with combinations 
  65. of <SHIFT>, <ALT> and <CTRL>. You can also assign one of these entries to a
  66. combination.
  67. In the combobox there are two other special items:
  68. <as 'default'> will let you setup the same value as you have for the <default>
  69. entry. With this you can easily change the setting of some combinations for a
  70. special application but having the default values for the others. If you
  71. create a new setting for an application, this value is assigned for all
  72. combinations. Assigning this value to the <default> setting is the same as
  73. an empty entry.
  74. <no action> lets you overide the normal action of an application with no
  75. action. Now if ypu press the coombination you will not get any action even
  76. if the application will normally do something. 
  77.  
  78.  
  79. ATTENTION! Be careful with assignments of mouse keys to mouse keys.
  80.            It is possible that you will create an infinit loop!
  81.  
  82.  
  83. If you want to assign a menu command you have to check the "Menu command"
  84. button and enter the value of the command. Because you normally will not
  85. know the value of a menu command, you can use the "Watch menu commands"
  86. button. If you press the button, you will get a dialog which will always
  87. keep in front. Now you can switch to the application you want to know
  88. the value of a menu command and select the menu entry. During the selection
  89. of menu entries, you will see the value of the menu commands and their menutext
  90. in the listbox of the dialog.
  91.  
  92. Here are some examples on how to setup MoseKey:
  93.  
  94. - You want that the right mouse button will always open the help for
  95.   any application:
  96.   Select <default> in the listbox and press <F1> in the 'Right' editbox.
  97.  
  98. - For Notepad you want to assign the middle mouse button pressed together
  99.   with <SHIFT> to insert the current time and date:
  100.   If you don't already have an entry for Notepad in the listbox, create it
  101.   now with the 'New' button.
  102.   Now select Notepad in the listbox and enter <F5> in the 'Middle+Shift'
  103.   editbox.
  104.   (<F5> is the hotkey of the menu command 'Time/Date')
  105.  
  106. - Now you want to open the search dialog in Notepad when pressing the
  107.   right mouse key together with <SHIFT>.
  108.   The menu command 'Search...' doesn't have a hotkey so we have to use
  109.   a menu command. To get the value of the menuitem 'Search...' we need
  110.   to open the 'Watch menu commands' dialog. Now if we start Notepad and
  111.   select the menuitem 'Search..' we will see something like
  112.   "3   &Search..."
  113.   in the listbox of the dialog. Now we know that the value of the
  114.   menuitem 'Search...' is 3.
  115.   Now we close the 'Watch menu commands' dialog and select the entry
  116.   Notepad in the listbox. In the line 'Right+Shift' we check the
  117.   button Menu command and enter the value 3 in the editbox.
  118.  
  119.  
  120. Note: The settings of MouseKey will override the normal behaviour of an
  121. application. So if an application already uses e.g the right mouse button
  122. to do some action you can override this with a setting in MouseKey.
  123.  
  124.  
  125. Limitations
  126. ===========
  127. It is possible that MouseKey will not work correct with some applications.
  128. There are also some applications which will create its windows not from within 
  129. the main program but from within DLLs (or other modules). For this applications
  130. you have to create a setting for the main program and for the name of
  131. the DLLs. (If you don't get the functions you have setup in MouseKey for
  132. some application try to set the setting for each of the DLLs you will find in
  133. the main directory of the application).
  134.  
  135.  
  136. Freeware-Note
  137. =============
  138. You can use and distribute MouseKey free, as long as the following files 
  139. are not changed and you distribute all files together
  140.  
  141. - mousekey.txt
  142. - mousekey.exe
  143. - mousekec.cpl
  144.  
  145. I am programming MouseKey because I have fun and not to make any profit. 
  146. That's why MouseKey is free and you don't have to pay more or less high 
  147. registration charges.I think it is a bad habit, that more and more program 
  148. authors want to have money even for the smallest programs.
  149.  
  150. Long live Freeware!
  151.  
  152.  
  153. If you have problems, comments, suggestions or you detect an error, 
  154. please E-Mail to
  155.  
  156. s_furrer@ira.uka.de
  157.  
  158.  
  159.  
  160. (c) 1993 by Andreas Furrer
  161.  
  162.  
  163. Version history
  164. ===============
  165. 1.20: - Added a setting for the desktop window.
  166.       - Added the 'as <default>' and 'no action' value.
  167.       - With some applications you got two or more times the action you have 
  168.         defined for a single mouse click (e.g. with WinWord). This was a
  169.         problem with duplicated Windows messages. I added some functions to 
  170.         detect this messages. I hope MouseKey will now work correct with most
  171.         applications.
  172. 1.11: - The control panel for MouseKey in version 1.10 didn't worked on
  173.         most system.
  174. 1.10: - Changed the edit fields in comboboxes. Now you can also assign
  175.         <CTRL><ESC> and <BACKSPACE> or a combination of other mouse buttons
  176.         to the buttons.
  177. 1.01: - Fixed a bug with the icon (if you have choosen to see the icon
  178.         of MouseKey you only saw a white rectangle)
  179. 1.00: - First version of